#pragma once
#include "afxwin.h"


// chatBox dialog

class chatBox : public CDialog
{
	DECLARE_DYNAMIC(chatBox)

public:
	chatBox(CWnd* pParent = NULL);   // standard constructor
	virtual ~chatBox();
	BOOL Create(UINT nID, CWnd* cwnd)
	{
		return CDialog::Create(nID,cwnd);
	}
	void PostNcDestroy()
	{
		CDialog::PostNcDestroy();	//call base destructor
		delete this;
	}
	void receiveMsg(BSTR* user, BSTR* msg);
// Dialog Data
	enum { IDD = 130 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
private:
	CEdit m_conversationBx;
public:
	bool m_isReceived;
};
